package net.xiangcaowuyu.example1.dao;

import net.xiangcaowuyu.example1.domain.AndUser;
import org.springframework.data.jpa.repository.JpaRepository;

import java.util.List;

/**
 * 博客：https://www.xiangcaowuyu.net
 * description:
 *
 * @author: 香草物语
 * DateTime: 2021-08-03 17:33
 */
public interface AndUserRepository extends JpaRepository<AndUser,Long> {

    List<AndUser> findAllByAgeAndName(Integer age,String name);

}
